//
//  BCRegisterViewController.m
//  BangcaiBuy
//
//  Created by lsy on 16/6/13.
//  Copyright © 2016年 BCB. All rights reserved.
//

#import "BCRegisterViewController.h"
#import "BCUserInfoViewController.h"
@implementation BCRegisterViewController
- (void)getView
{
    self.title = @"注册";
    self.view.backgroundColor = [UIColor whiteColor];
    self.navigationController.navigationBar.hidden = NO;
    self.navigationController.navigationBar.translucent = NO;
    UINavigationBar *navigationBar = self.navigationController.navigationBar;
    [navigationBar setBackgroundImage:[UIImage imageNamed:@"lv"]
                       forBarPosition:UIBarPositionAny
                           barMetrics:UIBarMetricsDefault];
    [navigationBar setShadowImage:[UIImage new]];
    self.registView = [[BCRegisterView alloc] initWithFrame:CGRectMake(0, -64, SCREEN_WIDTH, SCREEN_HEIGHT) backImage:[UIImage imageNamed:@"logo-1"]];
    [self.view addSubview:self.registView];
    [self.registView.regBut addTarget:self action:@selector(goFixInfo) forControlEvents:UIControlEventTouchUpInside];
}


- (void)goFixInfo
{
    BCUserInfoViewController *fixInfoVC = [[BCUserInfoViewController alloc] init];
    [self.navigationController pushViewController:fixInfoVC animated:YES];
}
@end
